[INFO] fetching crate pallet-grandpa 3.0.0...
[INFO] building pallet-grandpa-3.0.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate pallet-grandpa 3.0.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate pallet-grandpa 3.0.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-grandpa 3.0.0
[INFO] finished tweaking crates.io crate pallet-grandpa 3.0.0
[INFO] tweaked toml for crates.io crate pallet-grandpa 3.0.0 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 03c946e2e36d85b4e84a2c3969c685e323ef0ba49e4a90e05182efd70becdc5e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "03c946e2e36d85b4e84a2c3969c685e323ef0ba49e4a90e05182efd70becdc5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03c946e2e36d85b4e84a2c3969c685e323ef0ba49e4a90e05182efd70becdc5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03c946e2e36d85b4e84a2c3969c685e323ef0ba49e4a90e05182efd70becdc5e", kill_on_drop: false }`
[INFO] [stdout] 03c946e2e36d85b4e84a2c3969c685e323ef0ba49e4a90e05182efd70becdc5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff1a2d86e071d5e1c702e29a6dabf4616608bf9193d2c17fff2a7bf48fd98fa9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ff1a2d86e071d5e1c702e29a6dabf4616608bf9193d2c17fff2a7bf48fd98fa9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling byte-slice-cast v1.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling sp-std v3.0.0
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling ref-cast v1.0.6
[INFO] [stderr]    Compiling futures-io v0.3.15
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling parity-wasm v0.41.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling memory_units v0.3.0
[INFO] [stderr]    Compiling parity-util-mem v0.9.0
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling cpufeatures v0.1.4
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling signature v1.3.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling environmental v1.1.3
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling dyn-clone v1.0.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling base58 v0.1.0
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling sharded-slab v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling ed25519 v1.1.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling uint v0.9.0
[INFO] [stderr]    Compiling hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling tracing-log v0.1.2
[INFO] [stderr]    Compiling trie-db v0.22.5
[INFO] [stderr]    Compiling bitvec v0.20.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.18
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling integer-sqrt v0.1.5
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling wasmi-validation v0.3.0
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling alga v0.9.3
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling generic-array v0.13.3
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling simba v0.4.0
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling hmac-drbg v0.2.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling pbkdf2 v0.4.0
[INFO] [stderr]    Compiling fixed-hash v0.7.0
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling twox-hash v1.6.0
[INFO] [stderr]    Compiling libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling sp-panic-handler v3.0.0
[INFO] [stderr]    Compiling wasmi v0.6.2
[INFO] [stderr]    Compiling nalgebra v0.19.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling zeroize_derive v1.1.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.6
[INFO] [stderr]    Compiling sp-debug-derive v3.0.0
[INFO] [stderr]    Compiling parity-util-mem-derive v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling derive_more v0.99.14
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v3.0.0
[INFO] [stderr]    Compiling dyn-clonable v0.9.0
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling curve25519-dalek v2.1.2
[INFO] [stderr]    Compiling merlin v2.0.1
[INFO] [stderr]    Compiling curve25519-dalek v3.1.0
[INFO] [stderr]    Compiling secrecy v0.7.0
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling tiny-bip39 v0.8.0
[INFO] [stderr]    Compiling futures-executor v0.3.15
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling wasm-timer v0.2.5
[INFO] [stderr]    Compiling statrs v0.13.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling impl-serde v0.3.1
[INFO] [stderr]    Compiling tracing-serde v0.1.2
[INFO] [stderr]    Compiling schnorrkel v0.9.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling nalgebra v0.25.4
[INFO] [stderr]    Compiling substrate-bip39 v0.4.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling frame-support-procedural-tools v3.0.0
[INFO] [stderr]    Compiling tracing-subscriber v0.2.18
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.1.0
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v3.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v3.0.0
[INFO] [stderr]    Compiling frame-support-procedural v3.0.0
[INFO] [stderr]    Compiling parity-scale-codec v2.1.1
[INFO] [stderr]    Compiling impl-codec v0.5.0
[INFO] [stderr]    Compiling sp-storage v3.0.0
[INFO] [stderr]    Compiling sp-wasm-interface v3.0.0
[INFO] [stderr]    Compiling sp-tracing v3.0.0
[INFO] [stderr]    Compiling sp-arithmetic v3.0.0
[INFO] [stderr]    Compiling finality-grandpa v0.13.0
[INFO] [stderr]    Compiling primitive-types v0.9.0
[INFO] [stderr]    Compiling sp-externalities v0.9.0
[INFO] [stderr]    Compiling memory-db v0.26.0
[INFO] [stderr]    Compiling sp-runtime-interface v3.0.0
[INFO] [stderr]    Compiling sp-core v3.0.0
[INFO] [stderr]    Compiling sp-trie v3.0.0
[INFO] [stderr]    Compiling sp-keystore v0.9.0
[INFO] [stderr]    Compiling sp-inherents v3.0.0
[INFO] [stderr]    Compiling frame-metadata v13.0.0
[INFO] [stderr]    Compiling sp-state-machine v0.9.0
[INFO] [stderr]    Compiling sp-io v3.0.0
[INFO] [stderr]    Compiling linregress v0.4.1
[INFO] [stderr]    Compiling sp-application-crypto v3.0.0
[INFO] [stderr]    Compiling sp-runtime v3.0.0
[INFO] [stderr]    Compiling sp-version v3.0.0
[INFO] [stderr]    Compiling sp-staking v3.0.0
[INFO] [stderr]    Compiling sp-authorship v3.0.0
[INFO] [stderr]    Compiling frame-support v3.0.0
[INFO] [stderr]    Compiling sp-api v3.0.0
[INFO] [stderr]    Compiling sp-timestamp v3.0.0
[INFO] [stderr]    Compiling sp-session v3.0.0
[INFO] [stderr]    Compiling sp-finality-grandpa v3.0.0
[INFO] [stderr]    Compiling frame-system v3.0.0
[INFO] [stderr]    Compiling frame-benchmarking v3.1.0
[INFO] [stderr]    Compiling pallet-authorship v3.0.0
[INFO] [stderr]    Compiling pallet-timestamp v3.0.0
[INFO] [stderr]    Compiling pallet-session v3.0.0
[INFO] [stderr]    Compiling pallet-grandpa v3.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 15s
[INFO] running `Command { std: "docker" "inspect" "ff1a2d86e071d5e1c702e29a6dabf4616608bf9193d2c17fff2a7bf48fd98fa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff1a2d86e071d5e1c702e29a6dabf4616608bf9193d2c17fff2a7bf48fd98fa9", kill_on_drop: false }`
[INFO] [stdout] ff1a2d86e071d5e1c702e29a6dabf4616608bf9193d2c17fff2a7bf48fd98fa9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8ce553f15d1a8f62c43a9902896539a2a4b4f6542fac11146ff1dcca833ef7c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a8ce553f15d1a8f62c43a9902896539a2a4b4f6542fac11146ff1dcca833ef7c", kill_on_drop: false }`
[INFO] [stderr]    Compiling pallet-grandpa v3.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical`
[INFO] [stdout]   --> src/mock.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `grandpa`
[INFO] [stdout]   --> src/mock.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use ::grandpa as finality_grandpa;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `grandpa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use pallet_staking::EraIndex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_io`
[INFO] [stdout]   --> src/mock.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use sp_io;
[INFO] [stdout]    |     ^^^^^ no external crate `sp_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/mock.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/tests.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout]    --> src/mock.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         Balances: pallet_balances::{Module, Call, Storage, Config<T>, Event<T>},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Staking: pallet_staking::{Module, Call, Config<T>, Storage, Event<T>, ValidateUnsigned},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences`
[INFO] [stdout]   --> src/mock.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         Offences: pallet_offences::{Module, Call, Storage, Event},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]   --> src/mock.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:95:21
[INFO] [stdout]    |
[INFO] [stdout] 95 |     type AccountData = pallet_balances::AccountData<u128>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:123:40
[INFO] [stdout]     |
[INFO] [stdout] 123 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |     type FullIdentification = pallet_staking::Exposure<u64, u128>;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:150:6
[INFO] [stdout]     |
[INFO] [stdout] 150 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:164:6
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:193:6
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:205:18
[INFO] [stdout]     |
[INFO] [stdout] 205 |     type UnixTime = pallet_timestamp::Module<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:222:6
[INFO] [stdout]     |
[INFO] [stdout] 222 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:224:45
[INFO] [stdout]     |
[INFO] [stdout] 224 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:283:2
[INFO] [stdout]     |
[INFO] [stdout] 283 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:315:5
[INFO] [stdout]     |
[INFO] [stdout] 315 |                 pallet_staking::StakerStatus::<u64>::Validator,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:320:23
[INFO] [stdout]     |
[INFO] [stdout] 320 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:323:14
[INFO] [stdout]     |
[INFO] [stdout] 323 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:399:4
[INFO] [stdout]     |
[INFO] [stdout] 399 |             pallet_staking::Exposure {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:417:5
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:453:5
[INFO] [stdout]     |
[INFO] [stdout] 453 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:492:4
[INFO] [stdout]     |
[INFO] [stdout] 492 |             pallet_staking::Exposure {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:510:5
[INFO] [stdout]     |
[INFO] [stdout] 510 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / frame_support::construct_runtime!(
[INFO] [stdout] 49 | |     pub enum Test where
[INFO] [stdout] 50 | |         Block = Block,
[INFO] [stdout] 51 | |         NodeBlock = Block,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | |     }
[INFO] [stdout] 63 | | );
[INFO] [stdout]    | |__^ not found in `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use pallet_session::Event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / frame_support::construct_runtime!(
[INFO] [stdout] 49 | |     pub enum Test where
[INFO] [stdout] 50 | |         Block = Block,
[INFO] [stdout] 51 | |         NodeBlock = Block,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | |     }
[INFO] [stdout] 63 | | );
[INFO] [stdout]    | |__^ not found in `pallet_staking`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use pallet_session::Event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences`
[INFO] [stdout]   --> src/mock.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / frame_support::construct_runtime!(
[INFO] [stdout] 49 | |     pub enum Test where
[INFO] [stdout] 50 | |         Block = Block,
[INFO] [stdout] 51 | |         NodeBlock = Block,
[INFO] [stdout] ...  |
[INFO] [stdout] 62 | |     }
[INFO] [stdout] 63 | | );
[INFO] [stdout]    | |__^ not found in `pallet_offences`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use pallet_session::Event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:187:62
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-grandpa`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a8ce553f15d1a8f62c43a9902896539a2a4b4f6542fac11146ff1dcca833ef7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8ce553f15d1a8f62c43a9902896539a2a4b4f6542fac11146ff1dcca833ef7c", kill_on_drop: false }`
[INFO] [stdout] a8ce553f15d1a8f62c43a9902896539a2a4b4f6542fac11146ff1dcca833ef7c
